package cn.cs.client;

import cn.cs.common.Dto;
import cn.cs.common.DtoUtil;
import cn.cs.common.Page;
import cn.cs.config.CsConfiguration;
import cn.cs.fallback.AccountDetailFallBack;
import cn.cs.pojo.AccountDetail;
import cn.cs.pojo.Agent;
import cn.cs.pojo.CsPerson;
import cn.cs.pojo.SettlementDetailed;
import com.alibaba.fastjson.JSON;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.DefaultTransactionDefinition;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.*;

/**
 * Created by yuexl
 */
@FeignClient(name = "cs-pay-provider", configuration = CsConfiguration.class, fallback = AccountDetailFallBack.class)
public interface WithdrawalPayClient {


    @RequestMapping(value = "/getQgTradeListByMapPage", method = RequestMethod.POST)
    public List<Map<String,Object>> getQgTradeListByMapPage(@RequestBody Map<String,Object> param)throws Exception;

    @RequestMapping(value = "/getQgTradeCountByMap", method = RequestMethod.POST)
    public Integer getQgTradeCountByMap(@RequestBody Map<String,Object> param)throws Exception;



}

